export default {
  namespaced: true,
  state () {
    return {
      cityName: '上海',
      cityId: 'AREA|dbf46d32-7e76-1196',
      houseId: '',
      districtName: '请输入小区名',
      community: ''
    }
  },
  getters: {},
  mutations: {
    setCityName (state, value) {
      state.cityName = value
    },
    setCityId (state, value) {
      state.cityId = value
    },
    setHouseId (state, value) {
      state.houseId = value
    },
    setDistrict (state, value) {
      state.districtName = value
    },
    setCommunity (state, value) {
      console.log(value)
      state.community = value
    }
  },
  actions: {}
}
